package homework3;

public class Test {
    public static void main(String[] args) {
        SavingsAccount savingsAccount = new SavingsAccount("SA0001", "John Doe", 5000.0, 0.05);
        savingsAccount.displayAccountInfo();
        System.out.println("Interest Rate: " + savingsAccount.getInterestRate());

        System.out.println();

        CurrentAccount currentAccount = new CurrentAccount("CA0001", "Jane Smith", 10000.0, 5000.0);
        currentAccount.displayAccountInfo();
        System.out.println("Overdraft Limit: " + currentAccount.getOverdraftLimit());
    }
}
